package com.luo.ai.assistant.conv.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 会话中的聊天记录
 *
 * @author luohq
 * @date 2025-02-05
 */
@Data
@TableName("chats")
public class Chat {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long conversationId;
    private String content;
    private String metadata;
    private LocalDateTime createTime;
    private String createdBy;
}